package com.his.entity;

import com.his.common.Const;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * (Bed)实体类
 *
 * @author makejava
 * @since 2020-10-23 18:05:59
 */
@Data
@ToString
public class Bed implements Serializable {
    private static final long serialVersionUID = 503776777025655479L;
    /**
     * 主键
     */
    @NotNull(groups = Const.Update.class, message = "bedId不能为空")
    private Integer id;
    /**
     * 床位编号
     */
    private String bedNo;
    /**
     * 病房外键id
     */
    private Integer wardId;
    /**
     * 科室id外键
     */
    private Integer depId;
    /**
     * 床位状态：0-占用 1-空置 2-修缮
     */
    private String bedStatus;
    /**
     * 是否删除。0-否，1-是
     */
    private Integer isDelete;

}
